<template>
  <VideoPlayer 
    :src="src"
    crossorigin="anonymous"
    playsinline
    controls
    autoplay
    :muted="true"
    :volume="0.6"
    :height="400"
  />
</template>

<script setup>
import { defineProps } from 'vue'
import { VideoPlayer } from '@videojs-player/vue'
import 'video.js/dist/video-js.css'

defineProps({
  src: String
})
</script> 